package com.WISSC.commen;

/**
 * @author 张子艺
 * @packge com.xbxkj.commen
 * @data 2019-03-19 17:38
 * @project SpringBoot
 */
public class Constant {

    /**
     * 以下为代码生成器配置
     */
    public static final String MP_GENNERATOR="冯政尚";
    public static final String MP_OUT_DIR="D:\\MyBatisPlus自动生成代码\\WISSC";
    public static final boolean MP_SWAGGER=true;
    public static final String MP_DATABASE_URL="jdbc:mysql://192.168.1.195:3306/wissc";
    public static final String MP_DATABASE_NAME="root";
    public static final String MP_DATABASE_PASS="123456";
    public static final String MP_PACKGE="com.WISSC";

    /**
     * JWT认证配置
     */
    //5分钟
    public static  final int EXPIRE_TIME=10*60*1000;
    public static  final  String SECRET="ZhangZiYiQQ1832870214Tel18602151637WeChatZhang1832870214";
    /**
     * 文件路径
     */
    public static String OSS_FILE_PATH = "imageserver/";
    public static String OSS_KEY ="http://ziyitest.oss-cn-beijing.aliyuncs.com/";
    public static String OSS_LAST ="?x-oss-process=image/resize,w_300,h_300/quality,q_100";
    /**
     * 阿里OSS信息
     */
    public static String OSS_endpoint ="http://oss-cn-beijing.aliyuncs.com";
    public static String OSS_accessKeyId ="LTAI12tJ9yxQmJ2H";
    public static String OSS_accessKeySecret ="YK5DOThA33XSVXLfWlq5eyF7PxoAPs";
    public static String OSS_bucketName_user = "ziyitest";
    public static int OSS_MaxConnections = 200;
    public static int OSS_SocketTimeout = 10000;
    public static int OSS_ConnectionTimeout = 10000;
    public static int OSS_ConnectionRequestTimeout = 1000;
    public static int OSS_IdleConnectionTime = 10000;
    public static int OSS_MaxErrorRetry = 5;
    /**
     * redis键
     */
    public static String TREE_TYPE = "tree_type";



}
